import Vue from 'vue';
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-default/index.css'
import App from 'components/page/storageBatch.vue'
import 'style/common.scss'
import {getUserInfo} from "common/unitQry"
import userPlugin from "plugin/getUserInfo"

getUserInfo().then( data => {
    Vue.use(userPlugin, data.data);
    Vue.use(ElementUI);

    new Vue({
        el: '#appRoot',
        render: h => h(App)
    })
});